Hi Tom!
I figured this should be separate from the watchenable so a new topic
I have 1 limit with 2 raiders per axis, originally because mach remembers which way it is moving so it was ok to have 1 limit to monitor both ends of the travel.
As I already run out of inputs (optoinputs on kanalog) I can't add limits.
How would the code be to have Kflop remember the current direction of movement and on limit disallow drive into limit but allow Backing off the limit?
Rgds,
Tapio
|